namespace CIS.Customer
{
    using CISLib;
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    public class OtherCustomerViewBigPic : Page
    {
        protected Image ImageBig;
        protected Label lbReturn;
        protected HyperLink ReturnHK;

        private void InitializeComponent()
        {
            base.Load += new EventHandler(this.Page_Load);
        }

        protected override void OnInit(EventArgs e)
        {
            this.InitializeComponent();
            base.OnInit(e);
        }

        private void Page_Load(object sender, EventArgs e)
        {
            this.SetFrom();
            this.ReturnHK.NavigateUrl = "OtherCustomerPicPage.aspx?IsModify=True&CustomerId=" + base.Request.QueryString["CustomerId"].ToString();
            this.ImageBig.ImageUrl = "OtherCustomerViewBigPage2.aspx?ImageId=" + base.Request.QueryString["ImageId"].ToString();
        }

        private void SetFrom()
        {
            string language = this.Session["language"].ToString();
            string path = base.Server.MapPath("~/LanguageConfig.xml");
            this.lbReturn.Text = ManageSystemConfig.GetSystemSetLanguage("OtherCustomerViewBigPic", "lbReturn", language, path);
        }
    }
}

